/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.nct.model.entities;

import java.sql.Date;
import java.util.List;

/**
 *
 * @author haott
 */
public class Tintuc {
    private Integer id;
    private byte[] hinhdaidien;
    private String tuade;
    private String mota;
    private String noidung;
    private boolean trangthai;
    private String ngaytao;
    private String ngaycapnhat;
    private boolean trangchu;
    private List<Chude> chudeList;
    private Tacgia idTacgia;

    public Tintuc() {
    }

    public Tintuc(Integer id) {
        this.id = id;
    }

    public Tintuc(Integer id, byte[] hinhdaidien, String tuade, String mota, String noidung, boolean trangthai, String ngaytao, String ngaycapnhat, boolean trangchu) {
        this.id = id;
        this.hinhdaidien = hinhdaidien;
        this.tuade = tuade;
        this.mota = mota;
        this.noidung = noidung;
        this.trangthai = trangthai;
        this.ngaytao = ngaytao;
        this.ngaycapnhat = ngaycapnhat;
        this.trangchu = trangchu;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public byte[] getHinhdaidien() {
        return hinhdaidien;
    }

    public void setHinhdaidien(byte[] hinhdaidien) {
        this.hinhdaidien = hinhdaidien;
    }

    public String getTuade() {
        return tuade;
    }

    public void setTuade(String tuade) {
        this.tuade = tuade;
    }

    public String getMota() {
        return mota;
    }

    public void setMota(String mota) {
        this.mota = mota;
    }

    public String getNoidung() {
        return noidung;
    }

    public void setNoidung(String noidung) {
        this.noidung = noidung;
    }

    public boolean getTrangthai() {
        return trangthai;
    }

    public void setTrangthai(boolean trangthai) {
        this.trangthai = trangthai;
    }

    public String getNgaytao() {
        return ngaytao;
    }

    public void setNgaytao(String ngaytao) {
        this.ngaytao = ngaytao;
    }

    public String getNgaycapnhat() {
        return ngaycapnhat;
    }

    public void setNgaycapnhat(String ngaycapnhat) {
        this.ngaycapnhat = ngaycapnhat;
    }

    public boolean getTrangchu() {
        return trangchu;
    }

    public void setTrangchu(boolean trangchu) {
        this.trangchu = trangchu;
    }

    public List<Chude> getChudeList() {
        return chudeList;
    }

    public void setChudeList(List<Chude> chudeList) {
        this.chudeList = chudeList;
    }

    public Tacgia getIdTacgia() {
        return idTacgia;
    }

    public void setIdTacgia(Tacgia idTacgia) {
        this.idTacgia = idTacgia;
    }
}
